
#pragma once

#include "DisasmDlg.h"
#include "Defines.h"

class CDisasmView : public CDockablePane
{
		DECLARE_DYNAMIC(CDisasmView)

		CDisasmDlg m_dlgDisasmView;

	public:
		CDisasmView();
		virtual ~CDisasmView();

		void AdjustLayout();

		void AttachDebugger(CDebugger *pDbgr)
		{
			m_dlgDisasmView.AttachDebugger(pDbgr);
		}
		void UpdateDebugAddress()
		{
			m_dlgDisasmView.SendMessage(WM_DEBUG_ADDRESS_UPDATE, 0, 0);
		}
	protected:


	public:
		afx_msg void OnPaint();
	protected:
		afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
		afx_msg void OnSize(UINT nType, int cx, int cy);
		afx_msg void OnSetFocus(CWnd *pOldWnd);
		DECLARE_MESSAGE_MAP()
};

